﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace GBT.Entity.GBT_Manage
{
    /// <summary>
    /// 审批流程表
    /// </summary>
    [Table("GBT_Approval")]
    public class GBT_Approval
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 服务请求单Id
        /// </summary>
        public String ServiceRequestId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public String DepartmentId { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public String UserId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 备注（审批意见）
        /// </summary>
        public string Remark { get; set; }

    }
}